package org.kjk.common;

import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class LoginController {

	@RequestMapping(value = "/login.do", method = RequestMethod.GET)
	protected ModelAndView handleRequestInternal(HttpSession session)
			throws Exception {
		session.setAttribute("id", null);
		session.setAttribute("pass", null);
		return new ModelAndView("gmailLogin.html");
	}

}
